USE [usuarios]
GO

/****** Object:  Table [dbo].[tbl_usuario]    Script Date: 06/29/2011 09:08:03 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[tbl_usuario](
	[usu_id] [varchar](20) NOT NULL,
	[usu_contrasena] [varchar](50) NOT NULL,
	[usu_estado] [int] NOT NULL,
	[usu_fecha_creacion] [datetime] NOT NULL,
	[usu_alias] [varchar](20) NULL,
	[usu_nombre] [varchar](30) NOT NULL,
	[usu_apellido] [varchar](30) NULL,
	[usu_compania] [varchar](30) NULL,
	[usu_email] [varchar](50) NOT NULL,
	[usu_title] [varchar](50) NULL,
	[usu_logo] [varchar](50) NULL,
 CONSTRAINT [PK_tbl_usuario] PRIMARY KEY CLUSTERED 
(
	[usu_id] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO

ALTER TABLE [dbo].[tbl_usuario] ADD  CONSTRAINT [DF_tbl_usuario_usu_fecha_creacion]  DEFAULT (getdate()) FOR [usu_fecha_creacion]
GO


